package com.maomao.ssoserver.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.maomao.ssoserver.mapper.BaseResourcesMapper;
import com.maomao.ssoserver.model.BaseResources;
import com.maomao.ssoserver.service.ResourcesService;

@Service
public class ResourcesServiceImpl implements ResourcesService{

	@Autowired
	private BaseResourcesMapper baseResourcesMapper;
	@Override
	public List<BaseResources> findByUserId(Long userId) {
		
		return baseResourcesMapper.findByUserId(userId);
	}

}
